package com.wpf.system.mapper;

import com.wpf.system.entity.Notice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wpf.system.entity.vo.NoticeVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ferna
* @description 针对表【notice(公告表)】的数据库操作Mapper
* @createDate 2023-03-05 13:10:27
* @Entity com.wpf.system.entity.Notice
*/
public interface NoticeMapper extends BaseMapper<Notice> {

    //查询公告列表
    List<NoticeVO> getNoticeList(
            @Param("uid") Long uid, @Param("nid") String nid, @Param("username") String username,
            @Param("title") String title, @Param("type") String type, @Param("status") String status,
            @Param("orderField") Integer orderField,
            @Param("startTime") String startTime, @Param("endTime") String endTime,
            @Param("page") Integer page, @Param("pageSize") Integer pageSize
    );
}




